<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="author" content="彭俊超">
    <title>提示框效果</title>
    <style>
             section{
              width:700px;
              height:420px;
              border:1px solid green;
              margin:100px auto;
              padding:10px;
              box-sizing: border-box;
              text-align:center;
              background-color:#ccc;
          }
          ul{
              margin:0px;
              padding:0px;
              list-style: none;
          }
          ul{
              display: flex;
              justify-content: space-between;
          }
          li{
              width:128px;
              height:128px;
              border:1px solid purple;
              margin-top:20px;
              position:relative;
          }
          img{
              display: none;
              position: absolute;
              top:0px;
              left:0px;
          }
          li:hover img{
              display: block;
              transform: scale(1.15);
          }
    </style>
</head>

<body>
    <section>
        <h2>名车车标展示</h2>
        <ul>
            <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/1.jpg" alt="">
            </li>
             <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/2.jpg" alt="">
            </li>
             <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/3.jpg" alt="">
            </li>
             <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/4.jpg" alt="">
            </li>  
        </ul>
         <ul>
            <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/5.jpg" alt="">
            </li>
             <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/6.jpg" alt="">
            </li>
             <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/7.jpg" alt="">
            </li>
             <li>
                <h3>奥迪</h3>
                <p>神奇灯工厂</p>
                <img src="img/8.jpg" alt="">
            </li>  
        </ul>
    </section>
</body>

</html>